<!-- 查看会员 -->
<form action="" class="form-horizontal" id="checkMember">
	<table class="table table-bordered">
		<tr>
			<td>账号:</td>
			<td><?php echo $rs['username']?></td>
		</tr>
		<tr>
			<td>真实姓名:</td>
			<td>
				<input type="text" class="form-control real_name"  placeholder="name" v-model="message" name="realname">
			</td>
		</tr>
		<tr>
			<td>出生日期:</td>
			<td>
				<input type="date" class="form-control birth_time"  placeholder="date" name="birthTime" v-model="rs.title">
			</td>
		</tr>
		<tr>
			<td>地区:</td>
			<td>
				<input type="text" class="form-control"  placeholder="area" name="area">
			</td>
		</tr>
		<tr>
			<td>身份证号:</td>
			<td>
				<input type="text" class="form-control"  placeholder="ID card" name="ID card">
			</td>
		</tr>
		<tr>
			<td>手机:</td>
			<td>
				<input type="tel" class="form-control"  placeholder="phone number" value="" name="phoneNumber">
			</td>
		</tr>
		<tr>
			<td>QQ/微信:</td>
			<td>
				<input type="text" class="form-control"  placeholder="QQ" name="QQ">
			</td>
		</tr>
		<tr>
			<td>E-MAIL:</td>
			<td>
				<input type="email" class="form-control" id="inputEmail3" placeholder="Email" value="" name="Email">
			</td>
		</tr>
		<tr>
			<td>取款银行:</td>
			<td>
				<select class="form-control deposit_bank" name="bank">
		      		<option value="" selected="selected">中国银行</option>
		      		<option value="">建设银行</option>
		      	</select>
			</td>
		</tr>
		<tr>
			<td>银行账号:</td>
			<td>
				<input type="text" class="form-control"  placeholder="bank account" name="bankAcct">
			</td>
		</tr>
		<tr>
			<td>取款密码:</td>
			<td>
				<input type="password" class="form-control deposit_pwd"  placeholder="password" name="password">
			</td>
		</tr>
		<tr>
			<td>备注:</td>
			<td>
				<input type="text" class="form-control"  placeholder="" name="remark">
			</td>
		</tr>
		<tr>
			<td>注册IP:</td>
			<td></td>
		</tr>
		<tr>
			<td>注册时间:</td>
			<td><?php echo date('Y-m-d H:i:s',$rs['addtime'])?></td>
		</tr>
		<tr>
			<td>最后登录时间:</td>
			<td></td>
		</tr>
		<tr>
			<td>最后登录IP:</td>
			<td>{{ message }}</td>
		</tr>
	</table>
</form>

<script type="text/javascript">

var app = new Vue({
  el: '#checkMember',
  data: {
    message: 'Hello Vue!',
    rs:{title:'标题',name:'wangjunchao'},
  },
  methods: {
    getInfo: function () {
      var _=this;
      axios.get("api/getInfo")
	    .then(function(response){
	    	_.message=response.data;
	    })
	    .catch(function(error){

	    })
	  }
  },

  created(){
  	this.getInfo();
  }
})

</script>
